package dms.service;

import java.util.Date;

import dms.model.Building;
import dms.model.School;
import dms.model.form.DormitoryChange;
import dms.model.form.Repair;
import dms.model.role.Student;
import dms.model.util.PageIterator;

public interface DormitoryChangeQueryService {
	DormitoryChange findChangeByID(Long id);
	PageIterator<DormitoryChange> findBySchool(int start, int count, School school, Date from, Date to);
	PageIterator<DormitoryChange>  findByStudentAndDate(int start, int count, Date fromDate, Date toDate, Student student);
	PageIterator<DormitoryChange> findBySchoolAndProcessed(int start, int count, School school, Date fromDate, Date toDate, Boolean processed, Boolean applied);
	PageIterator<DormitoryChange> findBySchoolAndProcessed(int start, int count, School school, Boolean processed, Boolean applied);

}
